package com.multi.thread.chapter03.demo08;

public class ThreadSubtract extends Thread {
	
	private Subtract subtract;

	public ThreadSubtract(Subtract subtract) {
		this.subtract = subtract;
	}
	
	@Override
	public void run() {
		subtract.subtract();
	}

}
